﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ShareB.Models.PublicationModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewMyPub
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ViewMyPub</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">PublicationID</div>
        <div class="display-field"><%: Model.PublicationID %></div>
        
        <div class="display-label">UserID</div>
        <div class="display-field"><%: Model.UserID %></div>
        
        <div class="display-label">Username</div>
        <div class="display-field"><%: Model.Username %></div>
        
        <div class="display-label">PubConfID</div>
        <div class="display-field"><%: Model.PubConfID %></div>
        
        <div class="display-label">StartDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.StartDate) %></div>
        
        <div class="display-label">EditDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.EditDate) %></div>
        
        <div class="display-label">Tittle</div>
        <div class="display-field"><%: Model.Tittle %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

